package com.qire.manhua.dialog;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import com.qire.common.support.base.BaseDialog;
import com.qire.manhua.R;
import com.qire.manhua.databinding.DialogSignInTaskRulesBinding;

import androidx.annotation.NonNull;

/**
 * 签到任务规则弹窗：在任务中心签到规则点击时弹出
 */
public class SignInTaskRulesDialog extends BaseDialog {

    public SignInTaskRulesDialog(@NonNull Context context) {
        super(context, R.style.CustomDialog_Translucent);
        DialogSignInTaskRulesBinding binding = DialogSignInTaskRulesBinding.inflate(LayoutInflater.from(context));
        binding.setSignInTaskRulesDialog(this);
        setContentView(binding.getRoot());
    }

    public void closeBtnOnClick(View view){
        dismiss();
    }

}
